package com.study.english.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.study.english.pojo.vo.SysUserStudyTimeVo;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;
import java.util.Map;

import com.study.english.domain.SysUserStudyTime;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author wf
 * @description 针对表【sys_user_study_time(人员学习截至时间)】的数据库操作Service
 * @createDate 2024-03-11 15:56:34
 */
public interface ISysUserStudyTimeService extends IService<SysUserStudyTime> {

    void addSysUserStudyTime(SysUserStudyTimeVo sysUserStudyTimeVo);

    void updateSysUserStudyTime(SysUserStudyTimeVo sysUserStudyTimeVo);

    IPage<SysUserStudyTimeVo> getSysUserStudyTimePageList(IPage<SysUserStudyTimeVo> page, SysUserStudyTimeVo sysUserStudyTimeVo);

    List<SysUserStudyTimeVo> getSysUserStudyTimeList(SysUserStudyTimeVo sysUserStudyTimeVo);

    SysUserStudyTime getSysUserStudyTimeById(String id);

    void delSysUserStudyTime(String id);


    Boolean checkIsNotWatchVideo();

    Map<String, Object> lastSevenDay();

    Map<String, Object> lastThreeYear();

    Map<String, Object> monthWatchTime();

    Map<String, String> textDescription();

    Map<String, Object> weekThreeWatchTime();
}
